package com.lianxueda.drawing.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
@TableName("users")
@ToString
public class WxUser {
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 微信openid
     */
    private String openid;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String headimgurl;

    /**
     * 姓名
     */
    private String name;

    /**
     * 称谓(爸爸、妈妈等)
     */
    private String relation;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
